package com.achievement.service;

import com.achievement.domain.dto.honor.ReviewResultDTO;
import com.achievement.domain.entity.ReviewResultEntity;
import com.achievement.domain.param.honor.ReviewResultParam;
import com.achievement.domain.vo.honor.ReviewResultVO;
import com.achievement.domain.vo.honor.ReviewResultWithReviewStandardVO;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IReviewResultService extends IService<ReviewResultEntity> {
    List<ReviewResultVO> selectByPage(ReviewResultParam param);

    List<ReviewResultEntity> getListByConditions(ReviewResultDTO ReviewResultDTO);

    List<ReviewResultVO> getListByQueryWrapper(LambdaQueryWrapper<ReviewResultEntity> queryWrapper);
    ReviewResultVO getInfoById(String id);

    boolean add(ReviewResultDTO dto);

    boolean update(ReviewResultDTO dto);

    boolean batchRemove(List<String> ids);
    List<ReviewResultWithReviewStandardVO>  reviewResultWithReviewStandardListById(@Param("reviewObjectId") String reviewObjectId);
}
